﻿Imports System.ComponentModel
Imports DevExpress.LookAndFeel

Public Class fIDebitosvendedor
    Sub New()
        InitSkins()
        ' This call is required by the designer.
        InitializeComponent()

        ' Add any initialization after the InitializeComponent() call.

    End Sub
    Sub InitSkins()
        DevExpress.Skins.SkinManager.EnableFormSkins()
        DevExpress.UserSkins.BonusSkins.Register()
        UserLookAndFeel.Default.SetSkinStyle("Metropolis")
    End Sub
    Private Sub FReportViewer_Load(sender As Object, e As EventArgs) Handles MyBase.Load

        Me.RiDebitosVendedorTableAdapter.Fill(DsIDebitos.RIDebitosVendedor)

        Dim Report As New RIDebitosVendedor

        ' Bind the report's printing system to the print control. 
        PrintControl1.PrintingSystem = Report.PrintingSystem


        ' Generate the report's print document. 
        Report.CreateDocument()
    End Sub
End Class